package com.kittlen.springBootDemo.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * Date: Mon Dec 07 20:26:57 CST 2020.
 *
 * @author (kittlen)
 */
@TableName("t_author")
public class Author  implements Serializable {


  private long id;//主键ID

  private String name;//姓名

  private long age;//年龄

  private String email;//邮箱

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public long getAge() {
    return age;
  }

  public void setAge(long age) {
    this.age = age;
  }


  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  @Override
  public String toString() {
    return "Author{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", age=" + age +
            ", email='" + email + '\'' +
            '}';
  }
}
